package Program;

import Robot.RobotDirection;

public abstract class Listener extends Thread {

	public abstract void setWaitTime(long rate);
	
	public abstract void resetWaitTime();
	
	public abstract RobotDirection getDirection();
	
	public abstract double getSensorAngle();
	
	/**
	 * @return the lightValue
	 */
	public abstract int getLightValue();
	
	/**
	 * @return the sonarDistance
	 */
	public abstract double getSonarDistance();
	
	/**
	 * 
	 * @return An array containing at most 8 values of the sonar.
	 */
	public abstract int[] sonarPing();
	
	/**
	 * @return the leftIsPressed
	 */
	public abstract boolean isLeftIsPressed();

	/**
	 * @return the rightIsPressed
	 */
	public abstract boolean isRightIsPressed();
	
}
